﻿@using QDT.Core
@model QDT.Common.IPagedList<QDT.Core.Deals.Credit>

@section HeadSection {
    @Html.IncludeCSS("~/Content/Css/calendar.css")
    @Html.IncludeScript("~/Content/JS/calendar.js")
}

<div class="main_title">
    转让列表</div>
<div class="blank5">
</div>
<div class="button_row">
</div>
<div class="search_row">
    <form name="search" action="@Url.Action("BidList")" method="get">	
        转让编号：<input type="text" class="textbox" name="assignmentId" value="@Request.Params["assignmentId"]" size="8"/>
        用户名：<input type="text" class="textbox" name="username" value="@Request.Params["username"]"/>
        日期：<input type="text" class="textbox" id="createTime" name="createTime" value="@Request.Params["createTime"]" onfocus=" this.blur(); return showCalendar('createTime', '%Y-%m-%d', false, false, 'btn_CreateTime');" size="8"/>
        <input type="button" class="button" id="btn_CreateTime" value="选择时间" onclick=" return showCalendar('createTime', '%Y-%m-%d', false, false, 'btn_CreateTime'); " />
        <input type="submit" class="button" value="搜索"/>
    </form>
</div>
<div class="grid_box">
    <div class="grid_top">
    </div>
    @Html.Grid(Model).Columns(column =>
        {
            column.CheckBox(x => x.ID);
            column.For(x => x.ID).Named("编号").HeaderAttributes(style => "width:50px;");
            column.For(x => x.AssignmentID).Named("转让编号").SortColumnName("AssignmentID");
            column.For(x => x.UserName).Named("用户名");
            column.For(x => x.BuyMoney.ToMoney()).Named("投资金额").SortColumnName("Money");
            column.For(x => x.CreateTime).Named("投资时间").SortColumnName("CreateTime");
            column.For(x => Html.F().GetUserGroupByUserId(x.UserID)).Named("用户组");
        }).Complex(ViewData)
    <div class="grid_foot">
    </div>
</div>
<div class="blank5">
</div>
@Html.Pager(Model)